package com.owen.pojo;

import java.io.Serializable;
import java.util.Date;

// 用户实体类
public class User implements Serializable {

    // 用户id
    private Long id;

    // 创建时间
    private Date createTime;

    // 密码
    private String password;

    // 电话号码
    private String phone;

    // 姓名
    private String trueName;

    // 是否启动
    private Integer userLock;

    // 登录名
    private String username;

    public User(Long id, Date createTime, String password, String phone, String trueName, Integer userLock, String username) {
        this.id = id;
        this.createTime = createTime;
        this.password = password;
        this.phone = phone;
        this.trueName = trueName;
        this.userLock = userLock;
        this.username = username;
    }

    public User() {
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getTrueName() {
        return trueName;
    }

    public void setTrueName(String trueName) {
        this.trueName = trueName;
    }

    public Integer getUserLock() {
        return userLock;
    }

    public void setUserLock(Integer userLock) {
        this.userLock = userLock;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }
}
